<?php
/**
 * 活动埋点信息
 */

namespace App\Contracts\Repositories;

use App\Models\ActivityPoints\ActivityPoints;

interface ActivityPointsRepository
{
    /**
     * @param $activityId
     * @return mixed
     */
    public function findById($pointId);

    public function findByConditions($conditions, $withs);

    public function findAll();

    public function create(ActivityPoints $activityPoints);

    public function modify($activityPoints, $condition);

    public function delete($condition, $softDeletion);

    public function deleteByIds($ids);

    public function findByConditionsPage($conditions, $sortArray, $start, $limit, $in, $action);

    public function countByConditions($conditions, $in, $action);
}
